package com.voltmao.persistent.mapper;

import org.apache.ibatis.annotations.Param;
import com.voltmao.persistent.model.AdminRole;
import com.voltmao.persistent.model.AdminRoleCriteria;

import java.util.List;
import java.util.Map;

public interface AdminRoleMapper {
    int countByExample(AdminRoleCriteria example);

    int deleteByExample(AdminRoleCriteria example);

    int deleteByPrimaryKey(String dataId);

    int insert(AdminRole record);

    int insertSelective(AdminRole record);

    List<AdminRole> selectByExample(AdminRoleCriteria example);

    AdminRole selectByPrimaryKey(String dataId);

    int updateByExampleSelective(@Param("record") AdminRole record, @Param("example") AdminRoleCriteria example);

    int updateByExample(@Param("record") AdminRole record, @Param("example") AdminRoleCriteria example);

    int updateByPrimaryKeySelective(AdminRole record);

    int updateByPrimaryKey(AdminRole record);

    AdminRole selectByExampleForOne(AdminRoleCriteria example);

    Map<String, Object> selectMapByPrimaryKey(String dataId);

    Map<String, Object> selectMapByExampleForOne(AdminRoleCriteria example);

    List<Map<String, Object>> selectMapByExample(AdminRoleCriteria example);
}